import Index from './pages/index'

import Home from './pages/Home/index'
//申请用车
import Apply from './pages/Apply/index'
//异地申请
import ApplyOther from './pages/Apply/other'
//申请历史
import ApplyHistory from './pages/Apply/history'
//详情
import Details from './pages/Details/index'
//受理
import Handle from './pages/Handle'
//我的用车
import MyUserCar from './pages/MyUserCar'
//派车列表 
import DispatchList from './pages/Dispatch/index'
//派车选择
import SendCarsSelect from './pages/SendCars/select'
//派车选择列表
import SendCarsDispatch from './pages/SendCars/dispatch'
//驾驶员列表
import DriverList from './pages/Driver/index'
//驾驶员接单列表
import DriverTaskList from './pages/Driver/taskList'
//驾驶员详情
import DriverDetail from './pages/Driver/detail'
//回车详情
import RejoinDetail from './pages/Driver/rejoinDetail'
//搜索
import Search from './pages/Search/index'
//搜索列表
import SearchList from './pages/Search/list'
//我的
import Me from './pages/Me/index'
//修改密码
import UpPassword from './pages/Me/password'
//反馈
import FaceBack from './pages/Me/faceBack'
//关于我们
import About from './pages/Me/about'
//登录
import Login from './pages/Login'


export default [{
    path: '/',
    component: Login,
  },
{
  path: '/index',
  component: Index,
  children: [{
          path: '',
         component: Home
      },
      {
        path: '/me',
       component: Me
    },
  ]
},
{
   path: '/apply',
   component: Apply,
},{
    path: '/applyhistory',
    component: ApplyHistory, 
  },{
    path: '/handle',
    component: Handle, 
  },{
    path: '/myUserCar',
    name:"MyUserCar",
    component: MyUserCar, 
  },{
    
    path: '/dispatchList',
    name:"DispatchList",
    component: DispatchList, 
  },{
    
    path: '/details',
    name:"Details",
    component: Details, 
  },{
    
    path: '/sendCarsSelect',
    name:"SendCarsSelect",
    component: SendCarsSelect, 
  },{
    
    path: '/sendCarsDispatch',
    name:"SendCarsDispatch",
    component: SendCarsDispatch, 
  },{
    
    path: '/driverList',
    name:"DriverList",
    component: DriverList, 
  },{
    
    path: '/driverTaskList',
    name:"DriverTaskList",
    component: DriverTaskList, 
  },{
    
    path: '/driverDetail',
    name:"DriverDetail",
    component: DriverDetail, 
  },
  {
    
    path: '/applyHistory',
    name:"ApplyHistory",
    component: ApplyHistory, 
  },
  {
    
    path: '/rejoinDetail',
    name:"RejoinDetail",
    component: RejoinDetail, 
  },
  {
    
    path: '/search',
    name:"Search",
    component: Search, 
  },
  {
    
    path: '/searchList',
    name:"SearchList",
    component: SearchList, 
  },{
    
    path: '/upPassword',
    name:"UpPassword",
    component: UpPassword, 
  },
  {
    
    path: '/about',
    name:"About",
    component: About, 
  },{
    
    path: '/faceBack',
    name:"FaceBack",
    component: FaceBack, 
  },
 { path: '/applyOther',
  name:"ApplyOther",
  component: ApplyOther, 
},
  
]